import XtxSkeleton from './Skeleton'
import XtxSlider from './Slider'
import More from './More'
import Bread from './Bread'
import BraddItem from './Bread/item.vue'
import XtxInfiniteLoad from './InfiniteLoad'
import City from './City'
import Sku from './Sku'
import Numbox from './Numbox'
import Button from './Button'
import CheckBox from './CheckBox'
import Message from './Message/index.vue'
import Dialog from './Dialog'
const cps = [
  XtxSkeleton,
  XtxSlider,
  More,
  Bread,
  BraddItem,
  XtxInfiniteLoad,
  City,
  Sku,
  Numbox,
  Button,
  CheckBox,
  Message,
  Dialog
]
export default {
  install (app) {
    // 注册全局组件
    // app.component(XtxSkeleton.name, XtxSkeleton)
    // app.component(XtxSlider.name, XtxSlider)
    cps.forEach(item => app.component(item.name, item))
  }
}
